package com.yyy.dm.provider.controller;

import com.yyy.dm.provider.service.SchedulerSeatPriceProviderService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

@RestController
public class SchedulerSeatPriceProviderController {

    @Resource
    private SchedulerSeatPriceProviderService schedulerSeatPriceProviderService;

    @PostMapping("/findSchedulerSeatPriceByScheduleIdAndXY")
    public Double findSchedulerSeatPriceByScheduleIdAndXY(@RequestBody Map map){
        return schedulerSeatPriceProviderService.findSchedulerSeatPriceByScheduleIdAndXY(map);
    }
}
